<%@page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@page import="com.monlyu.util.WebOptUtil"%>
<s:if test="decType == -2">
	<%=WebOptUtil.getDataInLoaclThread() %>
</s:if><s:else>
<% if (WebOptUtil.curUser(request) != null) {%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<% } %>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<!-- hoverIntent.js 必须再 jquery.menu.superfish.js之前-->
<title><s:if test="titleType==0"><%=WebOptUtil.getConfig("system.name") %>-</s:if><decorator:title default="首页" /></title>
<link rel="stylesheet" type="text/css" href="<s:url value="/common/css/common.cssgz" />" />
<link rel="stylesheet" type="text/css" href="<s:url value="/common/css/jquery.jmodal.cssgz" />" />
<link rel="stylesheet" type="text/css" href="<s:url value="/common/easyui/themes/default/easyui.css" />" />
<link rel="stylesheet" type="text/css" href="<s:url value="/common/easyui/themes/icon.css" />" />
<!-- 
<link rel="shortcut icon" href="<s:url value="/common/images/favicon.ico" />" />
 -->

<script type="text/javascript" src="<s:url value="/common/scripts/jquery-1.4.3.min.jsgz" />"></script>
<script type="text/javascript" src="<s:url value="/common/scripts/BaseJs.js" />"></script>
<script type="text/javascript" src="<s:url value="/common/easyui/jquery.easyui.min.jsgz" />"></script>
<script type="text/javascript" src="<s:url value="/common/scripts/jquery.multiSelect.js" />"></script>
<script type="text/javascript" src="<s:url value="/common/scripts/jquery.form.jsgz" />"></script>
<script type="text/javascript" src="<s:url value="/common/scripts/jquery.tooltip.jsgz" />"></script>
<script type="text/javascript" src="<s:url value="/common/scripts/ui.datepicker.jsgz" />"></script>
<script type="text/javascript" src="<s:url value="/common/scripts/jquery.validationEngine.jsgz" />"></script>
<script type="text/javascript" src="<s:url value="/common/scripts/jquery.actionform.jsgz" />"></script>
<script type="text/javascript" src="<s:url value="/common/scripts/jquery.jmodal.jsgz" />"></script>
<script type="text/javascript">BaseJs.root = '<%=WebOptUtil.APP_ARGS.getWebRelUrl()%>';</script>
<decorator:head />
</head>
<%
	if (WebOptUtil.curUser(request) == null) {
%>
<body>
<div id="monlyu_page">
	<div id="monlyu_content"><decorator:body /></div>
</div>
</body>
<%
	} else {
%>
<s:if test="decType==0">
	<script>
		$(function() {
			var p = $('body').layout('panel', 'west').panel({
				onCollapse : function() {
					if($.fn.portal){
						$.fn.portal.methods.resize($('#portal'));
					}
				},
				onExpand : function(){
					if($.fn.portal){
						$.fn.portal.methods.resize($('#portal'));
					}
				}
			});
			<s:if test="!home">
				$('body').layout('collapse','west');
			</s:if>
		});
	</script>
	<body class="easyui-layout">
		<div region="north" border="false" style="height:91px;background:#D2E0F2;">
			<div style="height: 60px;width: 70%;margin-left: 15%;"><%@ include file="../gloab/logo.jsp"%></div>
			<div id="banner_menu" style="height: 30px;width: 100%;"><%@ include file="../gloab/menu.jsp"%></div>
		</div>
		<div region="west" split="false" title="快速菜单" style="width:200px;"><%@ include file="../gloab/acmenu.jsp" %> </div>
		<div region="south" border="false" style="height:20px;background:#D2E0F2;"><%@ include file="../gloab/footer.jsp"%></div>
		<div region="center">
			<div id="contentView">
				<decorator:body />
			</div>
		</div>
	</body>
</s:if>
<s:else>
	<body>
		<div id="monlyu_content"><decorator:body /></div>
	</body>
</s:else>
<%
	}
%>
</html>
</s:else>